package com.shijiu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shijiu.pojo.ShopOrder;
import com.shijiu.pojo.ShopOrderVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author xlj
 * @Date Created in  2023/4/24 17:51
 * @DESCRIPTION:
 * @Version V1.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ShopOrderListVo {
   /**
    *  这个店的菜品总共有多少
    */
   private Long total;
   /**
    * 评论vo
    */
   @ApiModelProperty("商家名称")
   private String shopName;

   @ApiModelProperty("订单结束时间")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
   private Date shopOverTime;

   private List<ShopOrderVo> ShopOrderVoList;
}
